﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using RegistroClientes.Dominio;
using System.Data;

namespace RegistroClientes 
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IRegistroService" in both code and config file together.
    [ServiceContract]
    public interface IRegistroService
    {

        [OperationContract]
        Clientes CrearCliente(string nombre, string correo, string direccion, string telefono);
        [OperationContract]
        Clientes ObtenerCliente(int codigo);
        [OperationContract]
        Clientes ModificarCliente(int codigo, string nombre, string correo, string direccion, string telefono);
        [OperationContract]
        void EliminarCliente(int codigo);
        [OperationContract]
        List<Clientes> ListarClientes();
        //[OperationContract]
        //DataSet ListarClientesDataset();
        
    }
}
